import Vue from 'vue'
import Vuex from 'vuex'
import count from './modules/a'
import money from './modules/b'
import todo from './modules/todo'
Vue.use(Vuex)

export default new Vuex.Store({
    //导入不同模块的vuex
    modules: {
        count,
        money,
        todo
    },
})